Auto Numbering
The information on this page relates to the new upgraded interface of the IConduct platform. To view information about the Classic version of the user interface, follow this link.
A very common column manipulation algorithm is the Auto Number option. This step allows you to reset the numbering each time the item in the source column changes.
For example, if you are checking the orders made, and you want to know how many items are listed on an order (the number of lines in an order) you can use this step to perform calculation.
The result would be as follows:
| Order ID | Order Line Number |
|---|---|
| Order1 | 1 |
| Order1 | 2 |
| Order1 | 3 |
| Order2 | 1 |
| Order2 | 2 |
The target column (Order Line Number) contains the line number for the current order. Every time the content of the Order ID column changes, the auto numbering starts once again from 1 (Starting Value).
To configure this manipulate step, follow the instructions below:
- In the specific Interface work area, press the downward button next to the task and press the ‘+’ (plus sign) button.
Creating a New Step
- Select Create manipulation step.
- Navigate to the Manipulate Columns section and select Auto Numbering.
Manipulate Columns Section
- In the Auto Numbering work area, fill in the following fields:
| Fields | Description |
|---|---|
|
Name of step |
Provide a distinctive name for this step. |
|
Filter Expression |
Optional. Use this filed to filter data from the source database prior to inserting it into the Schema table. |
|
Sort Expression |
Optional. Use this field to sort data from the source database prior to inserting it into the Schema table. |
|
Audit notes |
Leave notes about the step if needed. This field may contain any information, such as the purpose of the step, further actions that must be taken etc. for you to work with the step in the future or to inform team members about your intent. |
|
Order of Execution |
Enter the order in which this step should be executed. |
|
Is Active |
Activate the switch to engage the scheduler for this step. |
|
Stop interface execution if query failed |
Optional. If enabled, the system will stop any data manipulation if the query returns an error. |
|
Save Schema (enabled per interface) |
If selected, the schema is created for this step. |
| Index Column | Select the source column for data manipulation. |
| Target Column | Select the target column where the auto numbering will be placed. |
| Starting Value | Allows you to change the starting value to a number other than 1. |
| Increment | Specifies the increment step. By default, each next value is increased by 1. |
- Click the Create step button.